GetPrintResolution
TheGetPrintResolution
method should return the minimum desired resolution, in dots per inch, required for printing the content of the specified display frame.
ODULong GetPrintResolution (in ODFrame frame);
frame
- A reference to a display frame for which the resolution is needed.
- return value
- The minimum desired resolution, expressed in dots per inch.
DISCUSSION
The root part calls this method when creating the document's print job to guarantee that it can display the highest-resolution part.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.EXCEPTIONS
kODErrInvalidFrame
- The specified frame is not a display frame of this part.
SEE ALSO
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Printing the Document" on page 174 in OpenDoc Programmer's Guide.
"Responding to GetPrintResolution" on page 176 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help